package priv.ln.field_method.exer2;

/**
 * ClassName: Exer2Test
 * Package: priv.ln.field_method.exer2
 * Description:
 *
 * @Author 辣辣
 * @Create 2024/6/17 19:09
 * @Version 1.0
 */
public class Exer2Test {
    public static void main(String[] args) {
        Exer2 exer = new Exer2();

        exer.method1();
        int area = exer.method2();
        System.out.println("面积为：" + area);
        int area2 = exer.method3(2,8);
        System.out.println("面积为：" + area2);
    }
}
